﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for DTO_Order
/// </summary>
public class DTO_Order
{
    private int _ID;

    public int ID
    {
        get { return _ID; }
        set { _ID = value; }
    }
    private int _Cus_Id;

    public int Cus_Id
    {
        get { return _Cus_Id; }
        set { _Cus_Id = value; }
    }
    private float _TotalMoney;

    public float TotalMoney
    {
        get { return _TotalMoney; }
        set { _TotalMoney = value; }
    }
    private string _Date;

    public string Date
    {
        get { return _Date; }
        set { _Date = value; }
    }
    private string _Cus_Name;

    public string Cus_Name
    {
        get { return _Cus_Name; }
        set { _Cus_Name = value; }
    }
    private string _Cus_Add;

    public string Cus_Add
    {
        get { return _Cus_Add; }
        set { _Cus_Add = value; }
    }
    private int _Cus_Province;

    public int Cus_Province
    {
        get { return _Cus_Province; }
        set { _Cus_Province = value; }
    }
    private string _Cus_Phone;

    public string Cus_Phone
    {
        get { return _Cus_Phone; }
        set { _Cus_Phone = value; }
    }
    private int _PayMethod;

    public int PayMethod
    {
        get { return _PayMethod; }
        set { _PayMethod = value; }
    }
    private bool _Check;

    public bool Check
    {
        get { return _Check; }
        set { _Check = value; }
    }
    

  
    private bool _Finish;

    public bool Finish
    {
        get { return _Finish; }
        set { _Finish = value; }
    }


	public DTO_Order()
	{
        _ID = 0;
        _Cus_Id = 0;
        _TotalMoney = 0;
        _PayMethod = 0;
        _Date = "";
        _Cus_Name = "";
        _Cus_Add = "";
        _Cus_Province = 0;
        _Cus_Phone = "";
        _Check = false;
        _Finish = false;
	}
    public DTO_Order(int id, int cus_id, float totalmoney, int paymethod, String date,string cus_name, string cus_add, int cus_province,string cus_phone, bool check = false, bool finish = false)
    {
        _ID = id;
        _Cus_Id = cus_id;
        _TotalMoney = totalmoney;
        _PayMethod = paymethod;
        _Date = date;
        _Cus_Name = cus_name;
        _Cus_Add = cus_add;
        _Cus_Province = cus_province;
        _Cus_Phone = cus_phone;
        _Check = check;
        _Finish = finish;
    }
}